using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN NganhHocEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: NganhHocEntity</para>
	/// <para>Description: ClassNganhHocEntity store data of table NganhHoc</para>
	///</summary>

	[DataContract]
	public partial class NganhHocEntity{


		private bool _InternalChangedIsNullNganhHoc_ID=true;
		private bool _IsNullNganhHoc_ID=true;
		private bool _InternalChangedIsNullMaNganhHoc=true;
		private bool _IsNullMaNganhHoc=true;
		private bool _InternalChangedIsNullTenNganhHoc=true;
		private bool _IsNullTenNganhHoc=true;
		private bool _InternalChangedIsNullMoTaNganhHoc=true;
		private bool _IsNullMoTaNganhHoc=true;
		private bool _InternalChangedIsNullKhoa_ID=true;
		private bool _IsNullKhoa_ID=true;
		private bool _InternalChangedIsNullHeDaoTao_ID=true;
		private bool _IsNullHeDaoTao_ID=true;
		private int _NganhHoc_ID;
		private string _MaNganhHoc;
		private string _TenNganhHoc;
		private string _MoTaNganhHoc;
		private int _Khoa_ID;
		private int _HeDaoTao_ID;
		[DataMember]
		public bool IsNullNganhHoc_ID{
			get{return _IsNullNganhHoc_ID;}
			set{if(!_InternalChangedIsNullNganhHoc_ID)_IsNullNganhHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullMaNganhHoc{
			get{return _IsNullMaNganhHoc;}
			set{if(!_InternalChangedIsNullMaNganhHoc)_IsNullMaNganhHoc=value;}
		}
		[DataMember]
		public bool IsNullTenNganhHoc{
			get{return _IsNullTenNganhHoc;}
			set{if(!_InternalChangedIsNullTenNganhHoc)_IsNullTenNganhHoc=value;}
		}
		[DataMember]
		public bool IsNullMoTaNganhHoc{
			get{return _IsNullMoTaNganhHoc;}
			set{if(!_InternalChangedIsNullMoTaNganhHoc)_IsNullMoTaNganhHoc=value;}
		}
		[DataMember]
		public bool IsNullKhoa_ID{
			get{return _IsNullKhoa_ID;}
			set{if(!_InternalChangedIsNullKhoa_ID)_IsNullKhoa_ID=value;}
		}
		[DataMember]
		public bool IsNullHeDaoTao_ID{
			get{return _IsNullHeDaoTao_ID;}
			set{if(!_InternalChangedIsNullHeDaoTao_ID)_IsNullHeDaoTao_ID=value;}
		}
		[DataMember]
		public int NganhHoc_ID{
			get{return _NganhHoc_ID;}
			set{
				_NganhHoc_ID=value;
				if(_NganhHoc_ID!=null){
					_IsNullNganhHoc_ID=false;
					_InternalChangedIsNullNganhHoc_ID=true;
				}
			}
		}
		[DataMember]
		public string MaNganhHoc{
			get{return _MaNganhHoc;}
			set{
				_MaNganhHoc=value;
				if(_MaNganhHoc!=null){
					_IsNullMaNganhHoc=false;
					_InternalChangedIsNullMaNganhHoc=true;
				}
			}
		}
		[DataMember]
		public string TenNganhHoc{
			get{return _TenNganhHoc;}
			set{
				_TenNganhHoc=value;
				if(_TenNganhHoc!=null){
					_IsNullTenNganhHoc=false;
					_InternalChangedIsNullTenNganhHoc=true;
				}
			}
		}
		[DataMember]
		public string MoTaNganhHoc{
			get{return _MoTaNganhHoc;}
			set{
				_MoTaNganhHoc=value;
				if(_MoTaNganhHoc!=null){
					_IsNullMoTaNganhHoc=false;
					_InternalChangedIsNullMoTaNganhHoc=true;
				}
			}
		}
		[DataMember]
		public int Khoa_ID{
			get{return _Khoa_ID;}
			set{
				_Khoa_ID=value;
				if(_Khoa_ID!=null){
					_IsNullKhoa_ID=false;
					_InternalChangedIsNullKhoa_ID=true;
				}
			}
		}
		[DataMember]
		public int HeDaoTao_ID{
			get{return _HeDaoTao_ID;}
			set{
				_HeDaoTao_ID=value;
				if(_HeDaoTao_ID!=null){
					_IsNullHeDaoTao_ID=false;
					_InternalChangedIsNullHeDaoTao_ID=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END NganhHocEntityBase*****************************************/
	/*****************************************************************************************************/
}

